package com.dyrj.jzb.po;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;

/**
 * KFEJZB6066	会员绑定提现账户-银联鉴权	BindRelateAcctUnionPay
 * 用于会员申请绑定提现账户，申请后银行前往银联验证卡信息：姓名、证件、卡号、银行预留手机是否相符，相符则发送给会员手机动态验证码并返回成功，不相符则返回失败。
 * 平台接收到银行返回成功后，进入输入动态验证码的页面，有效期120秒，若120秒未输入，客户可点击重新发送动态验证码，这个步骤重新调用该接口即可。
 * 平安银行的账户，大小额行号和超级网银号都不用送。
 * 超级网银号：单笔转账金额不超过5万，不限制笔数，只用选XX银行，不用具体到支行，可实时知道对方是否收款成功。
 * 大小额联行号：单笔转账可超过5万，需具体到支行，不能实时知道对方是否收款成功。金额超过5万的，在工作日的8点30-17点间才会成功。
 */

public class Po6066BindRelateAcctUnionPay extends PoBase{

    //资金汇总账号
    private String FundSummaryAcctNo;
    //见证子账户的账号
    private String SubAcctNo;
    //交易网会员代码
    private String TranNetMemberCode;
    //见证子账户的户名
    private String MemberName;
    //会员证件类型
    private String MemberGlobalType;
    //会员证件号码
    private String MemberGlobalId;
    //会员的待绑定账户的账号
    private String MemberAcctNo;
    //会员的待绑定账户的本他行类型
    private String BankType;
    //会员的待绑定账户的开户行名称
    private String AcctOpenBranchName;
    //会员的待绑定账户的开户行的联行号
    private String CnapsBranchId;
    //会员的待绑定账户的开户行的超级网银行号
    private String EiconBankBranchId;
    //会员的手机号
    private String Mobile;
    //保留域
    private String ReservedMsg;

    //输出  在同名子账户绑定的场景下，若返回"VERIFIED"则说明无需验证直接绑定成功。
//    private String ReservedMsg;

    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("SubAcctNo",this.getSubAcctNo());
        paraKeyDict.put("TranNetMemberCode",this.getTranNetMemberCode());
        paraKeyDict.put("MemberName",this.getMemberName());
        paraKeyDict.put("MemberGlobalType",this.getMemberGlobalType());
        paraKeyDict.put("MemberGlobalId",this.getMemberGlobalId());
        paraKeyDict.put("MemberAcctNo",this.getMemberAcctNo());
        paraKeyDict.put("BankType",this.getBankType());
        paraKeyDict.put("AcctOpenBranchName",this.getAcctOpenBranchName());
        paraKeyDict.put("CnapsBranchId",this.getCnapsBranchId());
        paraKeyDict.put("EiconBankBranchId",this.getEiconBankBranchId());
        paraKeyDict.put("Mobile",this.getMobile());
        paraKeyDict.put("ReservedMsg",this.getReservedMsg());
        return JSON.toJSONString(paraKeyDict);
    }

    public String getFundSummaryAcctNo() {
        return FundSummaryAcctNo;
    }

    public void setFundSummaryAcctNo(String fundSummaryAcctNo) {
        FundSummaryAcctNo = fundSummaryAcctNo;
    }

    public String getSubAcctNo() {
        return SubAcctNo;
    }

    public void setSubAcctNo(String subAcctNo) {
        SubAcctNo = subAcctNo;
    }

    public String getTranNetMemberCode() {
        return TranNetMemberCode;
    }

    public void setTranNetMemberCode(String tranNetMemberCode) {
        TranNetMemberCode = tranNetMemberCode;
    }

    public String getMemberName() {
        return MemberName;
    }

    public void setMemberName(String memberName) {
        MemberName = memberName;
    }

    public String getMemberGlobalType() {
        return MemberGlobalType;
    }

    public void setMemberGlobalType(String memberGlobalType) {
        MemberGlobalType = memberGlobalType;
    }

    public String getMemberGlobalId() {
        return MemberGlobalId;
    }

    public void setMemberGlobalId(String memberGlobalId) {
        MemberGlobalId = memberGlobalId;
    }

    public String getMemberAcctNo() {
        return MemberAcctNo;
    }

    public void setMemberAcctNo(String memberAcctNo) {
        MemberAcctNo = memberAcctNo;
    }

    public String getBankType() {
        return BankType;
    }

    public void setBankType(String bankType) {
        BankType = bankType;
    }

    public String getAcctOpenBranchName() {
        return AcctOpenBranchName;
    }

    public void setAcctOpenBranchName(String acctOpenBranchName) {
        AcctOpenBranchName = acctOpenBranchName;
    }

    public String getCnapsBranchId() {
        return CnapsBranchId;
    }

    public void setCnapsBranchId(String cnapsBranchId) {
        CnapsBranchId = cnapsBranchId;
    }

    public String getEiconBankBranchId() {
        return EiconBankBranchId;
    }

    public void setEiconBankBranchId(String eiconBankBranchId) {
        EiconBankBranchId = eiconBankBranchId;
    }

    public String getMobile() {
        return Mobile;
    }

    public void setMobile(String mobile) {
        Mobile = mobile;
    }

    public String getReservedMsg() {
        return ReservedMsg;
    }

    public void setReservedMsg(String reservedMsg) {
        ReservedMsg = reservedMsg;
    }
}
